package com.xiaoshuidi.cloud.module.member.controller.admin.securitycheck.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class HazardLedgerExportVO {
    @ExcelIgnore
    private Long id;

    @ExcelProperty("序号")
    private Integer no;

    @ExcelProperty("整治进展情况")
    private String status;

    @ExcelProperty("检查时间")
    private LocalDate checkDate;

    @ExcelProperty("受检单位")
    private String checkWorkUnit;

    @ExcelProperty("整治目标和计划")
    private String target;

    @ExcelProperty("隐患基本情况")
    private String hazardContext;

    @ExcelProperty("隐患所在地")
    private String hazardAddress;

    @ExcelProperty("隐患类型")
    private String hazardType;

    @ExcelProperty("整治措施和要求")
    private String remediation;

    @ExcelProperty("整治资金")
    private BigDecimal capital;

    @ExcelProperty("整治责任人")
    private String wilfulnessName;

//    @ExcelProperty("整治责任单位")
//    private String responsibleUnit;

    @ExcelProperty("是否逾期")
    private String isOverdueStr;

    @ExcelIgnore
    private Integer isOverdue;

    @ExcelProperty("整治期限")
    @DateTimeFormat("yyyy.MM.dd")
    private LocalDate timeframe;

    @ExcelProperty("备注信息")
    private String remark;
}
